import { PartialType } from '@nestjs/mapped-types';
import { CreateDoctorDto } from './create-doctor.dto';
import { ApiPropertyOptional } from '@nestjs/swagger';

export class UpdateDoctorDto extends PartialType(CreateDoctorDto) {
  @ApiPropertyOptional({ description: '医生姓名', example: '张三' })
  name?: string;

  @ApiPropertyOptional({ description: '医生学历', example: '本科' })
  education?: string;

  @ApiPropertyOptional({ description: '医生毕业院校', example: 'XX 大学' })
  graduationSchool?: string;

  @ApiPropertyOptional({ description: '医生证书名称', example: '执业医师证书' })
  certificateName?: string;

  @ApiPropertyOptional({
    description: '医生证书文件路径或 URL',
    example: 'https://example.com/certificate.pdf',
  })
  certificateFile?: string;
}
